package com.woniu.repaircenter.models.form;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
@ApiModel(value = "派单更新维修工单表单")
public class UpdateDispatchRepairForm {

    /**
     * 维修编号
     */
    @ApiModelProperty("维修编号")
    @NotBlank(message = "维修编号不能为空")
    @Size(min=19,max = 19, message = "维修编号应为19位")
    private String repairNum;

    /**
     * 维修人员
     */
    @ApiModelProperty("维修人员id")
    @NotBlank(message = "维修人员id不能为空")
    private String repairPerson;


}
